package com.bj58.mis.apm.server.kylinreceive.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="kylin_segment")
public class KylinSegment implements Serializable {

  @Id
  private String id;
  private String name;
  private Date dateRangeStart;
  private Date dateRangeEnd;
  private Long sourceOffsetStart;
  private Long sourceOffsetEnd;
  private String status;
  private Long size;
  private Long inputRecords;
  private Long inputRecordsSize;
  private Date lastBuildTime;
  private String lastBuildJobId;
  private String dictionaries;
  private String rowkeyStats;
  private Date createTimeUtc;
  private Double swell;
  private String cubeId;
  private Boolean isDelete;
  private Date deleteTime;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public Long getSize() {
    return size;
  }

  public void setSize(Long size) {
    this.size = size;
  }

  public Long getInputRecords() {
    return inputRecords;
  }

  public void setInputRecords(Long inputRecords) {
    this.inputRecords = inputRecords;
  }

  public Long getInputRecordsSize() {
    return inputRecordsSize;
  }

  public void setInputRecordsSize(Long inputRecordsSize) {
    this.inputRecordsSize = inputRecordsSize;
  }

  public Date getLastBuildTime() {
    return lastBuildTime;
  }

  public void setLastBuildTime(Date lastBuildTime) {
    this.lastBuildTime = lastBuildTime;
  }

  public String getLastBuildJobId() {
    return lastBuildJobId;
  }

  public void setLastBuildJobId(String lastBuildJobId) {
    this.lastBuildJobId = lastBuildJobId;
  }

  public Date getCreateTimeUtc() {
    return createTimeUtc;
  }

  public void setCreateTimeUtc(Date createTimeUtc) {
    this.createTimeUtc = createTimeUtc;
  }

  public Double getSwell() {
    return swell;
  }

  public void setSwell(Double swell) {
    this.swell = swell;
  }

  public String getCubeId() {
    return cubeId;
  }

  public void setCubeId(String cubeId) {
    this.cubeId = cubeId;
  }

  public Boolean getDelete() {
    return isDelete;
  }

  public void setDelete(Boolean delete) {
    isDelete = delete;
  }

  public Date getDeleteTime() {
    return deleteTime;
  }

  public void setDeleteTime(Date deleteTime) {
    this.deleteTime = deleteTime;
  }

  public String getDictionaries() {
    return dictionaries;
  }

  public void setDictionaries(String dictionaries) {
    this.dictionaries = dictionaries;
  }

  public String getRowkeyStats() {
    return rowkeyStats;
  }

  public void setRowkeyStats(String rowkeyStats) {
    this.rowkeyStats = rowkeyStats;
  }

  public Date getDateRangeStart() {
    return dateRangeStart;
  }

  public void setDateRangeStart(Date dateRangeStart) {
    this.dateRangeStart = dateRangeStart;
  }

  public Date getDateRangeEnd() {
    return dateRangeEnd;
  }

  public void setDateRangeEnd(Date dateRangeEnd) {
    this.dateRangeEnd = dateRangeEnd;
  }

  public Long getSourceOffsetStart() {
    return sourceOffsetStart;
  }

  public void setSourceOffsetStart(Long sourceOffsetStart) {
    this.sourceOffsetStart = sourceOffsetStart;
  }

  public Long getSourceOffsetEnd() {
    return sourceOffsetEnd;
  }

  public void setSourceOffsetEnd(Long sourceOffsetEnd) {
    this.sourceOffsetEnd = sourceOffsetEnd;
  }
}
